package com.chinacoal.microservice.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 数据中心
 * @date 2020-12-28 18：37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "数据中心-信息实体")
public class DataCenter implements Serializable {

    @ApiModelProperty(value = "刷新时间")
    private Date refreshTime;

    @ApiModelProperty(value = "应收费用")
    private BigDecimal expensesReceivable;

    @ApiModelProperty(value = "实收费用")
    private BigDecimal paidExpenses;

    @ApiModelProperty(value = "累计欠款")
    private BigDecimal accumulatedArrears;

    @ApiModelProperty(value = "费用收款，完成进度")
    private BigDecimal progressCompleted;

    @ApiModelProperty(value = "个人租户")
    private Long individualTenant;

    @ApiModelProperty(value = "企业租户")
    private Long corporateTenant;

    @ApiModelProperty(value = "当前履行合约")
    private Long currentPerformanceContract;

    @ApiModelProperty(value = "临近到期合同")
    private Long nearExpiryContract;

    @ApiModelProperty(value = "出租率")
    private int leaseRate;

    @ApiModelProperty(value = "空置率")
    private int vacancyRate;

    @ApiModelProperty(value = "自用率")
    private int selfUseRate;

    @ApiModelProperty(value = "已预定率")
    private int predeterminedRate;

    @ApiModelProperty(value = "办公率")
    private int officeRate;

    @ApiModelProperty(value = "出租数")
    @TableField(exist = false)
    private Long leaseNumber;

    @ApiModelProperty(value = "空置数")
    @TableField(exist = false)
    private Long vacancyNumber;

    @ApiModelProperty(value = "自用数")
    @TableField(exist = false)
    private Long selfUseNumber;

    @ApiModelProperty(value = "办公数")
    @TableField(exist = false)
    private Long officeNumber;

    @ApiModelProperty(value = "已预定数")
    @TableField(exist = false)
    private Long predeterminedNumber;

    @ApiModelProperty(value = "房间总数")
    @TableField(exist = false)
    private Long roomNumber;

    @ApiModelProperty(value = "房间总面积")
    @TableField(exist = false)
    private BigDecimal totalArea;

    @ApiModelProperty(value = "房间有产权总面积")
    @TableField(exist = false)
    private BigDecimal propertyArea;

    @ApiModelProperty(value = "房间委托总面积")
    @TableField(exist = false)
    private BigDecimal commissionedArea;

    @ApiModelProperty(value = "房间其他总面积")
    @TableField(exist = false)
    private BigDecimal OtherArea;
}
